Inheritance diagram for LightingContext:

Public Member Functions | |
| LightingContext (I3DExRaytracer *raytracer, const IllumSettings &illum, const RendEnv &rendEnv, const RTLevelInfo &level) | |
| const TMCColorRGBA & | GetAmbientLight () const |
| void | CalcReflectDir (const TVector3 &rayDir, const TVector3 &normal) const |
Public Attributes | |
| FirstHitInfo * | fFirstHitInfo |
| TVector2 | fScreenCoordinates |
| LightingFlags | fLightingFlags |
| const IllumSettings & | fIllumSettings |
| lighting flags | |
| const RendEnv & | fRendEnv |
| I3DExRaytracer * | fRaytracer |
| const RTLevelInfo & | fLevel |
| const Ray3D * | fIncomingRay |
| RayHit3D * | fHit |
| boolean | fNormalFlipped |
| if the normal has been flipped | |
| uint32 | fNumberOfRays |
| TVector3 | fNormal |
| normal on current point after bump is applied (in global coord) | |
| TVector3 | fReflectDir |
|
||||||||||||||||||||
|
|
|
||||||||||||
|
Computes the direction in which a ray reflects on a surface. The result is stored in fReflectDir
|
|
|
Returns the intensity of the ambient light in the scene |
|
|
|
|
|
|
|
|
lighting flags
|
|
|
|
|
|
|
|
|
|
|
|
normal on current point after bump is applied (in global coord)
|
|
|
if the normal has been flipped
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.5